﻿<%@ Page Title="" Language="C#" MasterPageFile="~/__Page.master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="simpleHotel.Web.Contact" %>
<asp:Content ID="Content1" ContentPlaceHolderID="placeCenterContent" runat="server">
    <div class="roomCancellation">
   	<div class="content">
   	    <h3 class="titleMain"><asp:Literal ID="Literal1" runat="server" Text="<%$Resources:Resource, contactTitle%>"/></h3>
        <div align="left">
            <table>
            <tr>
				<td><asp:Label ID="Label4" CssClass="contact" runat="server" Text="<%$Resources:Resource, contactFullName%>" /></td>
				<td><asp:TextBox ID="txtFullName" Width="250" runat="server" ></asp:TextBox></td>
                <td><asp:RequiredFieldValidator ID="rfvFullName" runat="server" ErrorMessage="**" ControlToValidate="txtFullName" ValidationGroup="feedback"> </asp:RequiredFieldValidator></td>
            </tr>
            <tr>
				<td ><asp:Label ID="Label3" CssClass="contact" runat="server" Text="<%$Resources:Resource, contactSubject%>" /></td>
				<td ><asp:TextBox ID="txtEmail" Width="250" runat="server"></asp:TextBox></td>
                <td><asp:RegularExpressionValidator ID="revEmail" runat="server" ErrorMessage="Email" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="feedback"></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
				<td ><asp:Label ID="Label2" CssClass="contact" runat="server" Text="<%$Resources:Resource, contactSubject%>"/></td>
				<td ><asp:TextBox ID="txtSubject" Width="250" runat="server" ></asp:TextBox></td>
                <td><asp:RequiredFieldValidator ID="rfvSubject" runat="server" ErrorMessage="**" ControlToValidate="txtSubject" ValidationGroup="feedback"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
				<td ><asp:Label ID="Label1" CssClass="contact" runat="server" Text="<%$Resources:Resource, contactContent%>" /></td>
				<td ><asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
         
            <tr>
                <td>&nbsp;</td>
                <td align="left" style="margin-left:30px">
                    <asp:Button ID="btnContact" runat ="server" CssClass="support-button" Text="<%$Resources:Resource, contactSend%>" OnClick="btnContact_Click"/>
                </td>
            </tr>
        </table> 
        </div>
   	</div> 
        
   </div><!-- end of center content -->   

</asp:Content>
